package com.xzst.jacksonxml.model.result;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.*;

import java.io.Serializable;

/**
 * @Author:liukexin
 * @DATE:2019-06-24 14:07
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement(localName = "userInfo")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = -5464308472186210094L;


    /**
     * 电话号码
     */
    @JacksonXmlProperty(localName = "phoneNo")
    private String phoneNo;

    /**
     * 用户地域标识
     */
    @JacksonXmlProperty(localName = "provLatnId")
    private String provLatnId;

    /**
     * 用户姓名
     */
    @JacksonXmlProperty(localName = "userName")
    private String userName;

    /**
     * 证件类型
     */
    @JacksonXmlProperty(localName = "certTypeId")
    private String certTypeId;

    /**
     * 证件号码
     */
    @JacksonXmlProperty(localName = "idCard")
    private String idCard;

    /**
     * 客户地址
     */
    @JacksonXmlProperty(localName = "address")
    private String address;

    @JacksonXmlProperty(localName = "status")
    private String status;

    @JacksonXmlProperty(localName = "SETUPaddr")
    private String setUpAddr;
}
